//
//  YCArticleCollectionViewCell.h
//  YCSchool
//
//  Created by Yanglixia on 16/5/15.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YCArticlelistModel.h"
@class YCArticleCollectionViewCell;

@protocol YCArticleCollectionViewCellDelegate <NSObject>

- (void)didArticleWithModel:(YCArticlelistModel *)model cell:(YCArticleCollectionViewCell *)cell touchUpInsideViewWithBUtton:(UIButton *)button;

- (void)didHeadIconButtonTouchUpInside:(YCArticlelistModel *)model;
- (void)didReportButtonTouchUpInside:(YCArticlelistModel *)model;
- (void)needToReloadArticleCollectionView:(YCArticleCollectionViewCell *)cell;
- (void)didLongPressWithModel:(YCArticlelistModel *)model;
@end
@interface YCArticleCollectionViewCell : UICollectionViewCell

+ (CGFloat)heightForArticle:(YCArticlelistModel *)model;
- (void)relodWithArticle:(YCArticlelistModel *)model;
- (void)needToReloadTabelView;

@property (nonatomic,readonly) UIView *leftView;//左边

@property (nonatomic,weak) id<YCArticleCollectionViewCellDelegate> delegate;


@end
